from core.decorators.open_api import open_api
from views.Tomato.model import Tomato


class TomatoService:

    @open_api(name="handle.tomato")
    def handle_task(self, info):
        return Tomato.handle_tomato(info)

    @open_api(name="get.tomato.list")
    def get_tomato_list(self):
        pass

